//----auto get horde detail----------
//----see view_horde_detail.ftl for <div id="ssid">${ssid}</div> to get ssid
$(function () {
		var csid = $("#csid").text();
		var sgid = $("#sgid").text();
		$.ajax({type:"GET", dataType:"html", url:"ajaxgetproductdetail.jsp?csid="+csid+"&sgid="+sgid, 
			success:function (html) {
				html = $.trim(html);
				if (html) {
					$("#ajaxcontentholder").html(html);
				}
			}, 
			complete:function () {
				$("#productnavigationarea").html($("#productnavigationarea_content").html());
				$("#productsalearea").html($("#productsalearea_content").html()).slideDown("slow");
				$("#productservantarea").html($("#productservantarea_content").html());
				$("#ajaxcontentholder").empty();
			}
		});		
});